home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 046a / textusr1.zip / FLOPPY.BAT < prev    next >
DOS Batch File  |  1989-12-10  |  6KB  |  162 lines

  1. echo off
  2. cls
  3. echo  
  4. echo          ╔═════════════════════════════════════════════════╗
  5. echo          ╚══════╕ Online Greek Textus Receptus Files ╒═════╝
  6. echo                 └─────┐ Floppy Disk Installation┌────┘
  7. echo                       └─────────────────────────┘
  8. echo  
  9. echo         This program will install the Online Greek files onto
  10. echo         (4) four 360k floppy disks.
  11. echo  
  12. echo         The distribution disks must be placed in drive A: and 
  13. echo         the destination floppys in drive B:  Four blank formatted
  14. echo         360k floppys will be required for this process.  If you
  15. echo         have only a single drive, you must use the HARDDISK
  16. echo         installation procedure instead of this one.
  17. echo  
  18. echo         If you do not wish to carry out the installation process,
  19. echo         press CTRL-BREAK now and restart at your convenience later.
  20. echo  
  21. echo         Your target floppys should have no bad sectors, else
  22. echo         installation may not be successful.  If you do NOT have
  23. echo         good, clean formatted floppys, exit this program by pressing
  24. echo         CTRL-BREAK now.
  25. echo  
  26. echo         Press any other key to continue the installation process...
  27. pause > nul
  28. cls
  29. echo  
  30. echo         The installation program will extract the Greek New 
  31. echo         Testament Textus Receptus files from each archive file
  32. echo         (GREEK-1.GRK to GREEK-4.GRK) on the distribution disk
  33. echo         to each floppy (one target disk per archive file).  These
  34. echo         files have been compressed using the LHARC method, and
  35. echo         are self-extracting.  
  36. echo  
  37. echo         If you see any error messages (CRC or other errors) during
  38. echo         the installation process, press CTRL-BREAK to terminate,
  39. echo         and begin anew.
  40. echo  
  41. echo         Note that the files will be extracted in the alphabetical
  42. echo         order of each archive and NOT in the order of the Biblical
  43. echo         books (e.g, MARK unarchives before MATTHEW and JOHN before
  44. echo         LUKE, etc.).  All New Testament files will be present after
  45. echo         successful installation.
  46. :begin1
  47. echo  
  48. echo         If ready, insert distribution disk 1 into drive A: and 
  49. echo         target floppy 1 into drive B:, and press any key to begin
  50. echo         automatic installation.
  51. pause > nul
  52. cls
  53. b:
  54. cd\
  55. if exist b:floppy.bat goto error1
  56. if exist a:greek-3.exe goto error00
  57. copy a:gr*.doc
  58. copy a:re*.doc
  59. a:greek-1
  60. :begin2
  61. echo  
  62. echo    Insert target floppy 2 into drive B: - Press any key to continue...
  63. echo  
  64. pause > nul
  65. b:
  66. cd\
  67. if exist b:floppy.bat goto error2
  68. if exist a:greek-3.exe goto error01
  69. if exist b:mark-01.tr goto error3
  70. a:greek-2
  71. :begin3
  72. echo  
  73. echo      Insert distribution disk 2 into drive A:
  74. echo      Insert target disk 3 into drive B:
  75. echo      Press any key to continue....
  76. echo  
  77. pause > nul
  78. b:
  79. cd\
  80. if exist b:floppy.bat goto errorY
  81. if exist a:greek-1.exe goto error02
  82. if exist b:mark-01.tr goto error4
  83. if exist b:john-01.tr goto :error4
  84. a:greek-3
  85. :begin4
  86. echo  
  87. echo    Insert target disk 4 into drive B: and press any key to continue....
  88. echo  
  89. pause > nul
  90. b:
  91. cd\
  92. if exist b:floppy.bat goto errorZ
  93. if exist a:greek-1.exe goto error03
  94. if exist b:mark-01.tr goto error5
  95. if exist b:john-01.tr goto error5
  96. if exist b:1cor-01.tr goto error5
  97. a:greek-4
  98. echo  
  99. echo      All Greek New Testament Textus Receptus files have now been
  100. echo      copied to their target floppies.  You may now view the files
  101. echo      by reinserting distribution disk 1 into drive A: and typing
  102. echo      A:LIST B:{filename} and pressing {ENTER} or by using any other
  103. echo      ASCII file viewer or most word processors.
  104. echo  
  105. echo            Press any key to exit the installation program.
  106. echo  
  107. echo       ╔═══════════════════════════════════════════════════════╗
  108. echo       ║      Enjoy the ONLINE GREEK NT TEXTUS RECEPTUS !      ║
  109. echo       ╚═══════════════════════════════════════════════════════╝
  110. pause > nul
  111. goto end
  112. :error00
  113. echo           The wrong disk is in Drive A: -- Make sure Distribution
  114. echo           Disk 1 is in Drive A: and a BLANK formatted floppy is in
  115. echo           drive B:
  116. goto begin1
  117. :error01
  118. echo           The wrong disk is in Drive A: -- Make sure Distribution
  119. echo           Disk 1 is in Drive A: and a BLANK formatted floppy is in
  120. echo           drive B:
  121. goto begin2
  122. :error1
  123. echo           The wrong disk is in Drive B: -- Make sure Distribution
  124. echo           Disk 1 is in Drive A: and a BLANK formatted floppy is in
  125. echo           drive B:
  126. goto begin1
  127. :error2
  128. echo           The wrong disk is in Drive B: -- Make sure Distribution
  129. echo           Disk 1 is in Drive A: and a BLANK formatted floppy is in
  130. echo           drive B:
  131. goto begin2
  132. :errorY
  133. echo           The wrong disk is in Drive B: -- Make sure Distribution
  134. echo           Disk 2 is in Drive A: and a BLANK formatted floppy is in
  135. echo           drive B:
  136. goto begin3
  137. :errorZ
  138. echo           The wrong disk is in Drive B: -- Make sure Distribution
  139. echo           Disk 2 is in Drive A: and a BLANK formatted floppy is in
  140. echo           drive B:
  141. goto begin4
  142. :error02
  143. echo           Distribution disk 1 is in Drive A: -- Replace with
  144. echo           Distribution disk 2 before continuing.
  145. goto begin3
  146. :error03
  147. echo           Distribution disk 1 is in Drive A: -- Replace with
  148. echo           Distribution disk 2 before continuing.
  149. goto begin4
  150. :error3
  151. echo           Target disk 1 still in Drive B: -- Replace with Target
  152. echo           Disk 2 before attempting to continue.
  153. goto begin2
  154. :error4
  155. echo           Target disk 1 or 2 still in Drive B: -- Replace with Target
  156. echo           Disk 3 before attempting to continue.
  157. goto begin3
  158. :error5
  159. echo           Target disk 1,2,or 3 still in Drive B: -- Replace with Target
  160. echo           Disk 4 before attempting to continue.
  161. goto begin4
  162. :end